package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

/**
 * 菜单表
 */
@Data
public class Menu {
    @TableId
    private String id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "path")
    private String path;

    @TableField(value = "component")
    private String component;

    @TableField(value = "parentId")
    private String parentId;

    @TableField(value = "type")
    private String type;

    @TableField(value = "permission")
    private String permission;


    @TableField(exist = false)
    private List<Menu> Children;

}
